﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;

namespace IndyMosaic.Models.Services
{
    public interface IMembershipService
    {
        int MinPasswordLength { get; }

        bool ValidateUser(string userName, string password);
        MembershipCreateStatus CreateUser(string userName, string password, string confirmPassword, string emailAddress,
            string fullName, string reminderQuestion, string reminderAnswer);
        bool ChangePassword(string userName, string oldPassword, string newPassword);
        string ResetPassword(string userName);
        MembershipUserCollection GetAllUsers(Guid supplierID);
        string GetMembershipCreateStatusInfo(MembershipCreateStatus status);
    }
}
